home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19970326-19970626
/
000171_news@newsmaster….columbia.edu _Tue May 6 14:05:10 1997.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
4KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA00788
for <kermit.misc@watsun.cc.columbia.edu>; Tue, 6 May 1997 14:05:10 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id OAA22007
for kermit.misc@watsun; Tue, 6 May 1997 14:05:10 -0400 (EDT)
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: serial - network - serial connection
Date: 6 May 1997 18:05:09 GMT
Organization: Columbia University
Lines: 81
Message-ID: <5knrsl$7ml$1@apakabar.cc.columbia.edu>
References: <5knqjr$q1n@gateway.dircsa.org.au>
NNTP-Posting-Host: watsun.cc.columbia.edu
Xref: news.columbia.edu comp.protocols.kermit.misc:6995
In article <5knqjr$q1n@gateway.dircsa.org.au>,
Arthur Marsh <arthur@gateway.dircsa.org.au> wrote:
: Hi, I'm trying to set up a serial - network - serial connection using
: C-Kermit 6.0.192 and UnixWare 1.1.2. The object is to get an 8-bit
: transparent connection that goes away when either serial connection closes,
: and successfully tranfers data otherwise.
:
: I'm trying everything on the one machine to begin with:
:
: First serial connection (controling terminal):
:
: Logs on, runs the following script:
:
: NOPUSH
: SET CARRIER ON 1
: SET COMMAND BYTESIZE 8
: SET EXIT WARNING OFF
: SET QUIET ON
: SET TERMINAL AUTODOWNLOAD OFF
: SET TERMINAL BYTESIZE 8
: SET TERMINAL CHARACTER-SET TRANSPARENT
: SET TERMINAL ESCAPE DISABLED
: SET TERMINAL APC OFF
: SET PARITY NONE
: SET NETWORK TCP/IP
: SET TELNET BINARY REQUESTED
: SET TELNET BUG BINARY-ME-MEANS-U-TOO ON
: SET HOST LOCALHOST
: CONNECT
:
: stty -a output on the controlling terminal when using the above except
: push enabled, and push'd to the shell:
: ...
When you push, C-Kermit resets the controlling terminal.
: A login is performed that runs the following kermit script (leaving out
: error-checking):
:
: NOPUSH
: SET CARRIER ON 1
: SET COMMAND BYTESIZE 8
: SET EXIT WARNING OFF
: SET QUIET ON
: SET TERMINAL AUTODOWNLOAD OFF
: SET TERMINAL BYTESIZE 8
: SET TERMINAL CHARACTER-SET TRANSPARENT
: SET TERMINAL ESCAPE DISABLED
: SET TERMINAL APC OFF
: SET PARITY NONE
: set line /dev/tty2
: hangup
: hangup
: set line /dev/tty2
: SET SPEED 19200
: SET FLOW RTS/CTS
: pause 1
: output \13
: connect
: clear
: hangup
: hangup
: quit
:
: This appears to generally work, allowing 8-bit transparent connections with
: adequate flow control, but I'm open to suggestions on improving it.
:
You don't say what you meant by "improving it" -- I assume the transparency
issues have all been addressed satisfactorily; it looks like you've covered
most of the bases described in "Using C-Kermit" 2nd Edition, pages 162-165
("C-Kermit in the Middle").
In earlier releases of C-Kermit, end-to-end performance through this kind of
connection was pretty awful. A lot of work has gone into speeding it up.
Thus, for example, C-Kermit, when in CONNECT mode, no longer *assumes* that
input is coming from the (slow) keyboard, but instead uses all sorts of
buffering techniques and trickery to make this kind of connection as fast as
possible -- within the limitations of its portable architecture. Still,
you're going to see some overhead that you would not see if you had a direct
connection, especially during file transfer.
- Frank